//
//  GYMineProductInfoDetailViewModel.h
//  GYDemo
//
//  Created by mac on 2018/3/30.
//  Copyright © 2018年 mac. All rights reserved.
//

#import "GCBaseViewModel.h"
#import "GYMineProductInfoViewModel.h"

@interface GYMineProductInfoDetailHeadViewModel : NSObject
@property (nonatomic,strong) NSArray *imgUrl;
@property (nonatomic,strong) NSString *name;
@property (nonatomic,strong) NSString *type;
@property (nonatomic,strong) NSString *price;
@property (nonatomic,strong) NSString *unit;
@property (nonatomic,strong) NSString *count;
@property (nonatomic,strong) NSString *setNum;
@property (nonatomic,strong) NSString *saleCount;
@property (nonatomic,strong) NSString *createtime;
@end

@interface GYMineProductInfoDetailModel : NSObject
@property (nonatomic, strong) NSString * address;
@property (nonatomic, strong) NSString * area;
@property (nonatomic, strong) NSString * city;
@property (nonatomic, strong) NSString * companyname;
@property (nonatomic, assign) NSInteger count;
@property (nonatomic, assign) NSInteger createtime;
@property (nonatomic, strong) NSString * descriptionField;
@property (nonatomic, assign) NSInteger down;
@property (nonatomic, assign) NSInteger idField;
@property (nonatomic, strong) NSArray * imgUrl;
@property (nonatomic, strong) NSString * loginmobile;
@property (nonatomic, strong) NSString * name;
@property (nonatomic, assign) NSInteger pid;
@property (nonatomic, assign) NSInteger price;
@property (nonatomic, assign) NSInteger protypeid;
@property (nonatomic, strong) NSString * protypename;
@property (nonatomic, strong) NSString * province;
@property (nonatomic, strong) NSString * qq;
@property (nonatomic, assign) NSInteger salecount;
@property (nonatomic, assign) NSInteger saleid;
@property (nonatomic, assign) NSInteger score;
@property (nonatomic, assign) NSInteger setnum;
@property (nonatomic, assign) NSInteger status;
@property (nonatomic, assign) NSInteger topip;
@property (nonatomic, strong) NSString * unit;
@property (nonatomic, strong) NSString * username;
@property (nonatomic, strong) NSArray * propertyList;
@property (nonatomic, strong) NSDictionary * userInfo;
@end

@interface GYMineProductInfoDetailViewModel : GCBaseViewModel
@property (nonatomic,strong) GYMineProductInfoModel *productInfoModel;
@property (nonatomic,strong) GYMineProductInfoDetailModel *productInfoDetailModel;
@property (nonatomic,strong) GYMineProductInfoDetailHeadViewModel *productInfoDetailHeadViewModel;
@property (nonatomic,strong) NSMutableArray *allItems;
-(void)requestDetail;
@end
